#ifndef TIM1_H
#define TIM1_H

#ifdef  __cplusplus
extern "C" {
#endif

#include"config.h"

 void tim1_init(void);
  void tim1_pwm_config(void);
extern TIM_HandleTypeDef    htim1;
extern TIM_OC_InitTypeDef htim_oc;
 
#ifdef  __cplusplus
}
#endif

#endif // TIM1_H